package com.photoeditor.demo.model.image.mirror;


import com.photoeditor.demo.model.image.collage.templet.CollagePoints;
import com.photoeditor.demo.model.image.collage.templet.CollageTemplet;
import com.photoeditor.demo.model.image.collage.templet.Point;
import com.photoeditor.demo.model.image.collage.templet.attr.AttrFactory;

import java.util.ArrayList;

public class MirrorTempletConstant {
    public static final ArrayList<CollageTemplet> mirrorTemplet = new ArrayList<CollageTemplet>();

    static {
        CollageTemplet collageTemplet11 = new CollageTemplet(CollageTemplet.TYPE_POINT);
        collageTemplet11.addCollage(new CollagePoints(new Point(0, 0), new Point(0.5f, 0), new Point(0.5f, 1), new Point(0, 1)));
        collageTemplet11.addCollage(new CollagePoints(new Point(0.5f, 0), new Point(1, 0), new Point(1, 1), new Point(0.5f, 1)), AttrFactory.createAttr(0, 0, 0, true, false));
        mirrorTemplet.add(collageTemplet11);

        CollageTemplet collageTemplet12 = new CollageTemplet(CollageTemplet.TYPE_POINT);
        collageTemplet12.addCollage(new CollagePoints(new Point(0, 0), new Point(0.5f, 0), new Point(0.5f, 1), new Point(0, 1)), AttrFactory.createAttr(0, 0, 0, true, false));
        collageTemplet12.addCollage(new CollagePoints(new Point(0.5f, 0), new Point(1, 0), new Point(1, 1), new Point(0.5f, 1)));
        mirrorTemplet.add(collageTemplet12);

        CollageTemplet collageTemplet13 = new CollageTemplet(CollageTemplet.TYPE_POINT);
        collageTemplet13.addCollage(new CollagePoints(new Point(0, 0), new Point(1, 0), new Point(1, 0.5f), new Point(0, 0.5f)));
        collageTemplet13.addCollage(new CollagePoints(new Point(0, 0.5f), new Point(1, 0.5f), new Point(1, 1), new Point(0, 1)), AttrFactory.createAttr(0, 0, 0, false, true));
        mirrorTemplet.add(collageTemplet13);

        CollageTemplet collageTemplet14 = new CollageTemplet(CollageTemplet.TYPE_POINT);
        collageTemplet14.addCollage(new CollagePoints(new Point(0, 0), new Point(1, 0), new Point(1, 0.5f), new Point(0, 0.5f)), AttrFactory.createAttr(0, 0, 0, false, true));
        collageTemplet14.addCollage(new CollagePoints(new Point(0, 0.5f), new Point(1, 0.5f), new Point(1, 1), new Point(0, 1)));
        mirrorTemplet.add(collageTemplet14);

        CollageTemplet collageTemplet15 = new CollageTemplet(CollageTemplet.TYPE_POINT);
        collageTemplet15.addCollage(new CollagePoints(new Point(0, 0), new Point(0.5f, 0), new Point(0.5f, 0.5f), new Point(0, 0.5f)));
        collageTemplet15.addCollage(new CollagePoints(new Point(0.5f, 0), new Point(1, 0), new Point(1, 0.5f), new Point(0.5f, 0.5f)), AttrFactory.createAttr(0, 0, 0, true, false));
        collageTemplet15.addCollage(new CollagePoints(new Point(0, 0.5f), new Point(0.5f, 0.5f), new Point(0.5f, 1), new Point(0, 1)), AttrFactory.createAttr(0, 0, 0, false, true));
        collageTemplet15.addCollage(new CollagePoints(new Point(0.5f, 0.5f), new Point(1, 0.5f), new Point(1, 1), new Point(0.5f, 1)), AttrFactory.createAttr(0, 0, 0, true, true));
        mirrorTemplet.add(collageTemplet15);

        CollageTemplet collageTemplet16 = new CollageTemplet(CollageTemplet.TYPE_POINT);
        collageTemplet16.addCollage(new CollagePoints(new Point(0, 0), new Point(0.5f, 0), new Point(0.5f, 0.5f), new Point(0, 0.5f)), AttrFactory.createAttr(0, 0, 0, true, false));
        collageTemplet16.addCollage(new CollagePoints(new Point(0.5f, 0), new Point(1, 0), new Point(1, 0.5f), new Point(0.5f, 0.5f)));
        collageTemplet16.addCollage(new CollagePoints(new Point(0, 0.5f), new Point(0.5f, 0.5f), new Point(0.5f, 1), new Point(0, 1)), AttrFactory.createAttr(0, 0, 0, true, true));
        collageTemplet16.addCollage(new CollagePoints(new Point(0.5f, 0.5f), new Point(1, 0.5f), new Point(1, 1), new Point(0.5f, 1)), AttrFactory.createAttr(0, 0, 0, false, true));
        mirrorTemplet.add(collageTemplet16);

        CollageTemplet collageTemplet17 = new CollageTemplet(CollageTemplet.TYPE_POINT);
        collageTemplet17.addCollage(new CollagePoints(new Point(0, 0), new Point(0.5f, 0), new Point(0.5f, 0.5f), new Point(0, 0.5f)), AttrFactory.createAttr(0, 0, 0, false, true));
        collageTemplet17.addCollage(new CollagePoints(new Point(0.5f, 0), new Point(1, 0), new Point(1, 0.5f), new Point(0.5f, 0.5f)), AttrFactory.createAttr(0, 0, 0, true, true));
        collageTemplet17.addCollage(new CollagePoints(new Point(0, 0.5f), new Point(0.5f, 0.5f), new Point(0.5f, 1), new Point(0, 1)));
        collageTemplet17.addCollage(new CollagePoints(new Point(0.5f, 0.5f), new Point(1, 0.5f), new Point(1, 1), new Point(0.5f, 1)), AttrFactory.createAttr(0, 0, 0, true, false));
        mirrorTemplet.add(collageTemplet17);

        CollageTemplet collageTemplet18 = new CollageTemplet(CollageTemplet.TYPE_POINT);
        collageTemplet18.addCollage(new CollagePoints(new Point(0, 0), new Point(0.5f, 0), new Point(0.5f, 0.5f), new Point(0, 0.5f)), AttrFactory.createAttr(0, 0, 0, true, true));
        collageTemplet18.addCollage(new CollagePoints(new Point(0.5f, 0), new Point(1, 0), new Point(1, 0.5f), new Point(0.5f, 0.5f)), AttrFactory.createAttr(0, 0, 0, false, true));
        collageTemplet18.addCollage(new CollagePoints(new Point(0, 0.5f), new Point(0.5f, 0.5f), new Point(0.5f, 1), new Point(0, 1)), AttrFactory.createAttr(0, 0, 0, true, false));
        collageTemplet18.addCollage(new CollagePoints(new Point(0.5f, 0.5f), new Point(1, 0.5f), new Point(1, 1), new Point(0.5f, 1)));
        mirrorTemplet.add(collageTemplet18);

        CollageTemplet collageTemplet19 = new CollageTemplet(CollageTemplet.TYPE_POINT);
        collageTemplet19.addCollage(new CollagePoints(new Point(0, 0), new Point(0.5f, 0), new Point(0.5f, 1), new Point(0, 1)));
        collageTemplet19.addCollage(new CollagePoints(new Point(0.5f, 0), new Point(1, 0), new Point(1, 1), new Point(0.5f, 1)));
        mirrorTemplet.add(collageTemplet19);

        CollageTemplet collageTemplet110 = new CollageTemplet(CollageTemplet.TYPE_POINT);
        collageTemplet110.addCollage(new CollagePoints(new Point(0, 0), new Point(1, 0), new Point(1, 0.5f), new Point(0, 0.5f)));
        collageTemplet110.addCollage(new CollagePoints(new Point(0, 0.5f), new Point(1, 0.5f), new Point(1, 1), new Point(0, 1)));
        mirrorTemplet.add(collageTemplet110);

        CollageTemplet collageTemplet111 = new CollageTemplet(CollageTemplet.TYPE_POINT);
        collageTemplet111.addCollage(new CollagePoints(new Point(0, 0), new Point(0.5f, 0), new Point(0.5f, 1), new Point(0, 1)));
        collageTemplet111.addCollage(new CollagePoints(new Point(0.5f, 0), new Point(1, 0), new Point(1, 1), new Point(0.5f, 1)), AttrFactory.createAttr(0, 0, 0, true, true));
        mirrorTemplet.add(collageTemplet111);

        CollageTemplet collageTemplet112 = new CollageTemplet(CollageTemplet.TYPE_POINT);
        collageTemplet112.addCollage(new CollagePoints(new Point(0, 0), new Point(1, 0), new Point(1, 0.5f), new Point(0, 0.5f)));
        collageTemplet112.addCollage(new CollagePoints(new Point(0, 0.5f), new Point(1, 0.5f), new Point(1, 1), new Point(0, 1)), AttrFactory.createAttr(0, 0, 0, true, true));
        mirrorTemplet.add(collageTemplet112);

        CollageTemplet collageTemplet113 = new CollageTemplet(CollageTemplet.TYPE_POINT);
        collageTemplet113.addCollage(new CollagePoints(new Point(0, 0), new Point(0.5f, 0), new Point(0.5f, 0.5f), new Point(0, 0.5f)));
        collageTemplet113.addCollage(new CollagePoints(new Point(0.5f, 0), new Point(1, 0), new Point(1, 0.5f), new Point(0.5f, 0.5f)), AttrFactory.createAttr(0, 0, 0, true, false));
        collageTemplet113.addCollage(new CollagePoints(new Point(0, 0.5f), new Point(0.5f, 0.5f), new Point(0.5f, 1), new Point(0, 1)));
        collageTemplet113.addCollage(new CollagePoints(new Point(0.5f, 0.5f), new Point(1, 0.5f), new Point(1, 1), new Point(0.5f, 1)), AttrFactory.createAttr(0, 0, 0, true, false));
        mirrorTemplet.add(collageTemplet113);

        CollageTemplet collageTemplet114 = new CollageTemplet(CollageTemplet.TYPE_POINT);
        collageTemplet114.addCollage(new CollagePoints(new Point(0, 0), new Point(0.5f, 0), new Point(0.5f, 0.5f), new Point(0, 0.5f)));
        collageTemplet114.addCollage(new CollagePoints(new Point(0.5f, 0), new Point(1, 0), new Point(1, 0.5f), new Point(0.5f, 0.5f)), AttrFactory.createAttr(0, 0, 0, true, false));
        collageTemplet114.addCollage(new CollagePoints(new Point(0, 0.5f), new Point(0.5f, 0.5f), new Point(0.5f, 1), new Point(0, 1)), AttrFactory.createAttr(0, 0, 0, true, false));
        collageTemplet114.addCollage(new CollagePoints(new Point(0.5f, 0.5f), new Point(1, 0.5f), new Point(1, 1), new Point(0.5f, 1)));
        mirrorTemplet.add(collageTemplet114);

        CollageTemplet collageTemplet115 = new CollageTemplet(CollageTemplet.TYPE_POINT);
        collageTemplet115.addCollage(new CollagePoints(new Point(0, 0), new Point(0.5f, 0), new Point(0.5f, 0.5f), new Point(0, 0.5f)), AttrFactory.createAttr(0, 0, 0, true, false));
        collageTemplet115.addCollage(new CollagePoints(new Point(0.5f, 0), new Point(1, 0), new Point(1, 0.5f), new Point(0.5f, 0.5f)));
        collageTemplet115.addCollage(new CollagePoints(new Point(0, 0.5f), new Point(0.5f, 0.5f), new Point(0.5f, 1), new Point(0, 1)));
        collageTemplet115.addCollage(new CollagePoints(new Point(0.5f, 0.5f), new Point(1, 0.5f), new Point(1, 1), new Point(0.5f, 1)), AttrFactory.createAttr(0, 0, 0, true, false));
        mirrorTemplet.add(collageTemplet115);
    }
}
